package com.cheng.example.util.study.hutool;


import cn.hutool.core.date.DateUtil;

import java.util.Date;

public class DataTest {

    public static void main(String[] args) {

        String dataStr = "2019-10-12";

        Date data = DateUtil.parse(dataStr);
        System.out.println(data);
    }
}
